<?php
/** @var ValoresNutricionalesController $this */
/** @var AweActiveForm $form */
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
)); ?>

<?php echo $form->textFieldRow($model, 'id'); ?>

<?php echo $form->dropDownListRow($model, 'alimentos_id', array('' => ' -- Seleccione -- ') + CHtml::listData(Alimentos::model()->findAll(), 'id', Alimentos::representingColumn())); ?>

<?php echo $form->textFieldRow($model, 'porcentaje_agua', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'agua_g', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'energia_kcal', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'proteinas_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'grasa_total_g', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'carbohidratos_g', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'fibra_dietetica_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'fibra_cruda_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'fibra_dietaria_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'ceniza_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'calcio_mg', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'fosforo_mg', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'hierro_mg', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'tiamina_mg', array('maxlength' => 3)); ?>

<?php echo $form->textFieldRow($model, 'riboflavina_mg', array('maxlength' => 3)); ?>

<?php echo $form->textFieldRow($model, 'niacina_mg', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'vitamina_c_mg', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'vitamina_a_eqiv_retinol_mcg', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'acidos_grasos_monoinsat_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'acidos_grasos_poliinsaturad_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'acidos_grasos_saturados_g', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'colesterol_mg', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'potasio_mg', array('maxlength' => 6)); ?>

<?php echo $form->textFieldRow($model, 'sodio_mg', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'zinc_mg', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'magnesio_mg', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'vitamina_b6_mg', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'vitamina_b12_mcg', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'folato_mcg', array('maxlength' => 4)); ?>

<?php echo $form->textFieldRow($model, 'porcentaje_fracc_comestible', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'b_caroteno_equiv_totales_ug', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'retinol_ug', array('maxlength' => 6)); ?>

<?php echo $form->textFieldRow($model, 'asct_mg', array('maxlength' => 3)); ?>

<?php echo $form->textFieldRow($model, 'ch2o_g', array('maxlength' => 5)); ?>

<?php echo $form->textFieldRow($model, 'equivalentes_totales', array('maxlength' => 45)); ?>

<div class="form-actions">
    <?php $this->widget('bootstrap.widgets.TbButton', array(
			'type' => 'primary',
			'label' => Yii::t('AweCrud.app', 'Search'),
		)); ?>
</div>

<?php $this->endWidget(); ?>
